<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>{block name="title"} {:config('site.web_title')} {/block}</title>
    <meta name="keywords" content="{block name="seo_keywords"}{:config("site.web_keywords")}{/block}"/>
    <meta name="description" content="{block name="seo_desc"}{:config("site.web_description")}{/block}"/>
    <link type="text/css" rel="stylesheet" href="__INDEX_STATIC__/css/style.css"/>
    <link type="text/css" rel="stylesheet" href="__INDEX_STATIC__/css/animate.css"/>
    <script type="text/javascript" src="__INDEX_STATIC__/js/jquery-1.8.2.min.js"></script>
    <script type="text/javascript" src="__INDEX_STATIC__/js/banner.js"></script>
    <script type="text/javascript" src="__INDEX_STATIC__/js/wow.min.js"></script>
    <script type="text/javascript">
        new WOW().init();
    </script>
</head>

<body>
<div class="header">
    <div class="main">
        <a href="index.html">
            <img title=“中古贸盛” alt=“中古贸盛” src="{:config('site.title_logo_src')}"/>
        </a>
    </div>
</div>
<div class="clear"></div>
<div class="nav">
    <ul>
        <li><a href="/" {$currentUrl == '/' ? 'class="active"' : ''}>首页</a></li>
        {volist name="cateList" id="vo"}
            {if $vo.nickname == '/about'}
                <li><a href="https://auction.artron.net/bjzgms" {$currentUrl == $vo.nickname.'.html' ? 'class="active"' : ''}>{$vo.name}</a></li>
            {elseif $vo.nickname == '/history' /}
                <li><a href="https://auction.artron.net/org_detail/JG9589" {$currentUrl == $vo.nickname.'.html' ? 'class="active"' : ''}>{$vo.name}</a></li>
            {else /}
                <li><a href="{:url($vo.nickname)}"} {$currentUrl == $vo.nickname.'.html' ? 'class="active"' : ''}>{$vo.name}</a></li>
            {/if}
        {/volist}
    </ul>
</div>
<div class="clear"></div>
<div class="banner">
    <div class="b-img">
        {foreach item="vo" name="swiperList"}
        <img data-url="{$vo.jump_src}" data-article="{:url('/detail', ['id' => $vo.article_id])}" class="banner-img" style="height: 476px; width: 100%; cursor: pointer" src="{$vo.image}" width="100%"/>
        {/foreach}
    </div>
    <div class="clear"></div>
    <div class="b-list"></div>
</div>
<div class="clear"></div>

{block name="body"}{/block}


<div class="clear"></div>

<div class="footerBox">
    <div class="main">
        <div class="footL">
            <div class="tit">联系我们</div>
            <ul>
                <li class="f1">手 机：{:config('site.phone')}</li>
                <li class="f2">电 话：{:config('site.mobile')}</li>
                <li class="f3">邮箱：{:config('site.email')}</li>
                <li class="f4">地 址：{:config('site.address')}</li>
            </ul>
        </div>
        <div class="footR">

            <div class="qrcode">
                <div>
                    <img src="{:config('site.red_book_code')}" alt="" style="width: 100px;height: 100px">
                    <p>小红书</p>
                </div>
                <div>
                    <img src="{:config('site.wechat_code_src')}" alt="" style="width: 100px;height: 100px">
                    <p>微信</p>
                </div>
                <div>
                    <img src="{:config('site.company_wechat_code')}" alt="" style="width: 100px;height: 100px">
                    <p>企业微信</p>
                </div>
                <div>
                    <img src="{:config('site.webo_code_src')}" alt="" style="width: 100px;height: 100px">
                    <p>快手</p>
                </div>
                <div>
                    <img src="{:config('site.webo_code_src')}" alt="" style="width: 100px;height: 100px">
                    <p>微博</p>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="clear"></div>
<div class="fnav">
    <div class="main" style="color: #ffffff;">
        Copyright © 中古贸盛拍卖有限公司  <a style="font-size: 15px;" href="https://beian.miit.gov.cn/" target="_blank">{:config('site.beian')}</a>
    </div>
</div>

<script>
    (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?e9c70d2da3ed70b7c9bbec5ccf6056ed";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
</script>
<!--百度自动推送代码开始-->
<script>
    (function(){
        var bp = document.createElement('script');
        var curProtocol = window.location.protocol.split(':')[0];
        if (curProtocol === 'https') {
            bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
        }
        else {
            bp.src = 'http://push.zhanzhang.baidu.com/push.js';
        }
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(bp, s);
    })();

    // 轮播图跳转
    $(document).ready(function() {
        // 为所有带有 class="banner-img" 的图片绑定点击事件
        $('.banner-img').on('click', function() {
            // 获取当前点击图片的 data-url 属性值
            let url = $(this).data('url');
            let articleUrl = $(this).data('article');
            if (articleUrl) {
                // 跳转商品详情
                window.location.href = articleUrl
            } else if (url) {
                window.location.href = url
            }
        });
    });
</script>
<!--百度自动推送代码结束-->
</body>
</html>